package com.copc.common.constants;

/**
 * 缓存的key通用常量
 *
 * @author yuanbin
 */
public class CacheConstants {

    public final static String COPC_ISV_ORDER_CACHE_KEY = "copc:isv:create_order:";

    public final static String COPC_ISV_APPCONFIG_KEY = "copc:isv:appconfig:";

    public final static String COPC_ISV_CLIENT_TOKEN_KEY = "copc:isv:client_token:";

    /** TOKEN缓存有效期，默认120（分钟） */
    public final static long EXPIRED = 120;

    /** 缓存有效期，默认720（分钟） */
    public final static long EXPIRATION = 720;

    /** 缓存有效期，默认120（分钟） */
    public final static long REFRESH_TIME = 120;

    /** 权限缓存前缀 */
    public final static String TOKEN_KEY = "access_token:";

    /** 字典管理 cache key */
    public static final String SYS_DICT_KEY = "system:dict";

    /** 参数管理 cache key */
    public static final String SYS_CONFIG_KEY = "system:config";

    public final static String RISK_TOKEN_KEY = "risk_token_key";

}
